<?php
    session_start();
?>

<table border=1>
    <form action="userinfoUpdate.php" method="POST">
    <tr>
        <td>First Name :</td>
        <td><?php echo $_SESSION['fname']; ?></td>
    </tr>
    <tr>
        <td>Last Name :</td>
        <td><?php echo $_SESSION['lname']; ?></td>
    </tr>
    <tr>
        <td>Email :</td>
        <td><?php echo $_SESSION['email']; ?></td>
    </tr>
    <tr>
        <td>Password :</td>
        <td><?php echo $_SESSION['password']; ?></td>
    </tr>
    <tr>
        <td>Gender :</td>
        <td><?php echo $_SESSION['gender']; ?></td>
    </tr>
</table>

<table border=1>
    <tr>
        <td><a href="../../index.php">Home</a></td>
        <td><a href="../../account/profile/userinfoEdit.php">Edit Profile</a></td>
    </tr>
</table>
